<?php 

if(!defined('ADMIN')){
	exit('Access Denied');
}
?>
<div class="pageContent">
<form action="index.php?mod=<?=MOD?>&act=<?=ACT?>" method="post"  class="pageForm required-validate"  name="form1" onsubmit="return validateCallback(this, dialogAjaxDone);">
<input type="hidden" name="id" value="<?=$row['id']?>" />
<input type="hidden" name="sub" value="save" />
<div class="pageFormContent" layoutH="60">
<p><label>广告位名称：</label>
<input name="title" type="text" size="20"  id="title" value="<?=$row['title']?>" class="required" /></p>
<p><label>版位类型：</label>
<?=select($adspacelist,$row['type'],'type')?>

</p>
<p><label>图片宽：</label>
<input name="width" type="text" size="18"  id="width" value="<?=$row['width']?>" class="digits"  /><span class="info">px</span>
<label>图片高：</label>
<input name="height" type="text" size="18"  id="height" value="<?=$row['height']?>" class="digits"  /><span class="info">px</span>
</p>
<p><label>描述：</label>

<textarea name="description" rows="6" cols="48" ><?=$row["description"]?></textarea>
</p>
</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
</form>
</div>

